﻿using UnityEngine;

namespace Framework.AssetsManager
{
    public class ABCache
    {
        private string m_name;
        private float m_time;
        private float m_passTime;
        private AssetBundle m_ab;

        public ABCache(string _name, float _time, AssetBundle _ab)
        {
            m_name = _name;
            m_time = _time;
            m_passTime = 0;
            m_ab = _ab;
        }

        public string name
        {
            get { return m_name; }
        }

        public float time
        {
            get { return m_time; }
        }

        public float passTime
        {
            get { return m_passTime; }
            set { m_passTime = value; }
        }

        public AssetBundle ab
        {
            get { return m_ab; }
        }
    }
}